import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm'
import { RoleEntity } from '../entitys/role.entity'
import { RoleController } from '../controllers/role.controller';
import { RoleService } from './../services/role.service';
import { AuthorModule } from './authority.module'

@Module({
  imports: [
    TypeOrmModule.forFeature([RoleEntity]),
    AuthorModule
  ],
  controllers: [RoleController],
  providers: [RoleService],
})
export class RoleModule { }